package com.ruoyi.scrap.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ScrapApplyOutPo extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long outId;
    /** 入库单id */
    private Long intoId;
    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;
    /** 车牌 */
    @Excel(name = "出库汽车牌号")
    private String carNo;
    /** 皮重 */
    @Excel(name = "过磅单号（皮重）")
    private BigDecimal weightTare;
    /** 名称 */
    @Excel(name = "报废物资名称")
    private String outName;
    /** 计量单位 */
    @Excel(name = "计量单位")
    private String outUnit;

    /** 出库量 */
    @Excel(name = "出库重（数）量")
    private BigDecimal weightOut;
    /** 总重 */
    @Excel(name = "过磅单号（总重）")
    private BigDecimal weightTotal;
    /** 经办人 */
    @Excel(name = "经办人",dictType = "operator")
    private String operator;
    /** 交料人 */
    @Excel(name = "交料人")
    private String deliverer;
    /** 期末剩重 */
    @Excel(name = "期末库存量")
    private BigDecimal weightEnd;

}
